import RPi.GPIO as GPIO
import time

R,G,B = 13,19,26

GPIO.setmode(GPIO.BCM)

GPIO.setup((R,G,B),GPIO.OUT,initial = GPIO.LOW)

color_list = [R,G,B,(R,G),(R,B),(G,B),(R,G,B)]

try:
    while True:
        for x in color_list:
            GPIO.output(x,GPIO.HIGH)
            time.sleep(0.5)
            GPIO.output(x,GPIO.LOW)
except KeyboardInterrupt:
    GPIO.cleanup()

